import request from '@/utils/request'

// 获取题库章节列表
export const getChapterList = (params) => {
    return request({
        url: '/chapter/list',
        method: 'get',
        params
    })
}

// 获取题目列表
export const getQuestionList = (params) => {
    return request({
        url: '/question/list',
        method: 'get',
        params
    })
}